summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
Ben Hutchings [Fri, 13 May 2022 19:08:08 +0000 (21:08 +0200)]
module: Avoid ABI changes when debug info is disabled
Forwarded: not-needed
CI builds are done with debug info disabled, but this removes some
members from struct module. This causes builds to fail if there is an
ABI reference for the current ABI.
Define these members unconditionally, so that there is no ABI change.
Gbp-Pq: Topic debian
Gbp-Pq: Name module-avoid-abi-changes-when-debug-info-is-disabled.patch
Ben Hutchings [Mon, 26 Apr 2021 16:27:16 +0000 (18:27 +0200)]
kbuild: Abort build if SUBDIRS used
Forwarded: not-needed
Bug-Debian: https://bugs.debian.org/987575
DKMS and module-assistant both build OOT modules as root. If they
build an old OOT module that still use SUBDIRS this causes Kbuild
to try building a full kernel, which obviously fails but not before
deleting files from the installed headers package.
To avoid such mishaps, detect this situation and abort the build.
The error message is based on that used in commit
0126be38d988
"kbuild: announce removal of SUBDIRS if used".
Gbp-Pq: Topic debian
Gbp-Pq: Name kbuild-abort-build-if-subdirs-used.patch
Ben Hutchings [Thu, 10 Dec 2020 16:31:39 +0000 (17:31 +0100)]
kbuild: Look for module.lds under arch directory too
Forwarded: not-needed
Bug-Debian: https://bugs.debian.org/975571
The module.lds linker script is now built under the scripts directory,
where previously it was under arch/$(SRCARCH).
However, we package the scripts directory as linux-kbuild, which is
meant to be able to do support native and cross-builds. That means it
shouldn't contain files for a specific target architecture without a
wrapper to select between them, and it doesn't appear that linker
scripts are powerful enough to implement such a wrapper.
Building module.lds in a different location would require relatively
large changes. Moving it in the package build rules can work, but we
need to support custom kernel builds from the same source so we can't
assume it's moved.
Therefore, we move module.lds under the arch build directory in
rules.real and change Makefile.modfinal to look for it in both places.
Gbp-Pq: Topic debian
Gbp-Pq: Name kbuild-look-for-module.lds-under-arch-directory-too.patch
Bastian Blank [Tue, 4 Aug 2020 09:44:37 +0000 (09:44 +0000)]
[PATCH 2/2] perf/traceevent: Support asciidoctor for documentation
From
cd02fc78859ef9aefd7c92406f9523622da0b472 Mon Sep 17 00:00:00 2001
Forwarded: not-needed
Gbp-Pq: Topic debian
Gbp-Pq: Name perf-traceevent-support-asciidoctor-for-documentatio.patch
Bastian Blank [Tue, 4 Aug 2020 09:44:19 +0000 (09:44 +0000)]
[PATCH 1/2] Documentation: Drop sphinx version check
From
252aa79fdbd4ac2da09d9b98f81bf11f5e3e1870 Mon Sep 17 00:00:00 2001
Forwarded: not-needed
Gbp-Pq: Topic debian
Gbp-Pq: Name documentation-drop-sphinx-version-check.patch
Ben Hutchings [Fri, 22 Jun 2018 16:27:00 +0000 (17:27 +0100)]
android: Enable building ashmem and binder as modules
Bug-Debian: https://bugs.debian.org/901492
We want to enable use of the Android ashmem and binder drivers to
support Anbox, but they should not be built-in as that would waste
resources and increase security attack surface on systems that don't
need them.
- Add a MODULE_LICENSE declaration to ashmem
- Change the Makefiles to build each driver as an object with the
"_linux" suffix (which is what Anbox expects)
- Change config symbol types to tristate
Update:
In upstream commit
721412ed3d titled "staging: remove ashmem" the ashmem
driver was removed entirely. Secondary commit message:
"The mainline replacement for ashmem is memfd, so remove the legacy
code from drivers/staging/"
Consequently, the ashmem part of this patch has been removed.
Gbp-Pq: Topic debian
Gbp-Pq: Name android-enable-building-ashmem-and-binder-as-modules.patch
Ben Hutchings [Mon, 7 Sep 2020 01:51:53 +0000 (02:51 +0100)]
Export symbols needed by Android drivers
Bug-Debian: https://bugs.debian.org/901492
We want to enable use of the Android ashmem and binder drivers to
support Anbox, but they should not be built-in as that would waste
resources and increase security attack surface on systems that don't
need them.
Export the currently un-exported symbols they depend on.
Gbp-Pq: Topic debian
Gbp-Pq: Name export-symbols-needed-by-android-drivers.patch
Ben Hutchings [Fri, 13 Apr 2018 19:10:28 +0000 (20:10 +0100)]
wireless: Add Debian wireless-regdb certificates
Forwarded: not-needed
This hex dump is generated using:
{
for cert in debian/certs/wireless-regdb-*.pem; do
openssl x509 -in $cert -outform der;
done
} | hexdump -v -e '1/1 "0x%.2x," "\n"' > net/wireless/certs/debian.hex
Gbp-Pq: Topic debian
Gbp-Pq: Name wireless-add-debian-wireless-regdb-certificates.patch
Adriaan Schmidt [Mon, 4 Apr 2022 11:38:33 +0000 (13:38 +0200)]
tools: install perf python bindings
Bug-Debian: http://bugs.debian.org/860957
Forwarded: not-needed
Gbp-Pq: Topic debian
Gbp-Pq: Name tools-perf-install-python-bindings.patch
Ben Hutchings [Mon, 11 May 2015 02:51:07 +0000 (02:51 +0000)]
linux-tools: Install perf-read-vdso{,x}32 in directory under /usr/lib
Gbp-Pq: Topic debian
Gbp-Pq: Name tools-perf-perf-read-vdso-in-libexec.patch
Nobuhiro Iwamatsu [Sat, 20 Jan 2024 19:37:22 +0000 (20:37 +0100)]
[sh4] Fix uImage build
Bug-Debian: https://bugs.debian.org/569034
Forwarded: not-needed
[bwh: This was added without a description, but I think it is done
only to avoid a build-dependency on u-boot-tools.]
Gbp-Pq: Topic debian
Gbp-Pq: Name arch-sh4-fix-uimage-build.patch
YunQiang Su [Mon, 16 Nov 2020 01:11:00 +0000 (09:11 +0800)]
Use RELAXED ieee754 mode for Loongson-3 as 3A 4000 is 2008-only
Forwarded: not-needed
There are 2 mode of value of IEEE NaN hardcoded by CPU.
Currently, our mipsel/mips64el port is in so-called lagacy mode.
Loongson 3A 4000 is set as the so-called 2008 mode.
To make Debian workable on Loongson 3A 4000, we need set the kerenl in
RELAXED mode.
https://web.archive.org/web/
20180830093617/https://dmz-portal.mips.com/wiki/MIPS_ABI_-_NaN_Interlinking
Gbp-Pq: Topic debian
Gbp-Pq: Name mips-ieee754-relaxed.patch
YunQiang Su [Mon, 14 May 2018 08:16:18 +0000 (16:16 +0800)]
Disable uImage generation for mips generic
Forwarded: not-needed
MIPS generic trys to generate uImage when build, which then ask for
u-boot-tools.
[bwh: Updated for 5.17:
- zload-y is no longer assigned here and appears to default to empty
- Adjust context]
Gbp-Pq: Topic debian
Gbp-Pq: Name mips-boston-disable-its.patch
Ben Hutchings [Mon, 13 Sep 2010 01:16:18 +0000 (02:16 +0100)]
[PATCH] Partially revert "MIPS: Add -Werror to arch/mips/Kbuild"
Forwarded: not-needed
This reverts commits
66f9ba101f54bda63ab1db97f9e9e94763d0651b and
5373633cc9253ba82547473e899cab141c54133e.
We really don't want to add -Werror anywhere.
Gbp-Pq: Topic debian
Gbp-Pq: Name mips-disable-werror.patch
dann frazier [Mon, 26 Mar 2007 22:30:51 +0000 (16:30 -0600)]
Hardcode arch script output
Bug-Debian: https://bugs.debian.org/392592
Forwarded: not-needed
Here's a patch that simply uses hardcoded definitions instead of
doing the dynamic tests that require architecture-specific scripts.
I don't particularly like this approach because it restricts
portability and diverts from upstream. But, it is simpler, and this
really needs to be fixed somehow before etch (along with a rebuild of
linux-modules-extra-2.6), so I'm willing to live with it if my other
patch is deemed unacceptable.
My primary concern is that, in the future, the output of these scripts
will change and we (or our successors) will either not notice or
forget to update the hardcoded values.
Including the scripts in linux-kbuild will avoid this manual step
altogether, and allow for the possibility of other archs to provide
their own scripts in the future.
Gbp-Pq: Topic debian
Gbp-Pq: Name ia64-hardcode-arch-script-output.patch
Bastian Blank [Sun, 22 Feb 2009 14:39:35 +0000 (15:39 +0100)]
kbuild: Make the toolchain variables easily overwritable
Forwarded: not-needed
Allow make variables to be overridden for each flavour by a file in
the build tree, .kernelvariables.
We currently use this for ARCH, KERNELRELEASE, CC, and in some cases
also CROSS_COMPILE, KCFLAGS.
This file can only be read after we establish the build tree, and all
use of $(ARCH) needs to be moved after this.
[bwh: Updated for 5.3: include .kernelvariables from current directory
rather than using undefined $(obj).]
Gbp-Pq: Topic debian
Gbp-Pq: Name kernelvariables.patch
Ben Hutchings [Tue, 12 May 2015 18:29:22 +0000 (19:29 +0100)]
Make mkcompile_h accept an alternate timestamp string
Forwarded: not-needed
We want to include the Debian version in the utsname::version string
instead of a full timestamp string. However, we still need to provide
a standard timestamp string for gen_initramfs_list.sh to make the
kernel image reproducible.
Make mkcompile_h use $KBUILD_BUILD_VERSION_TIMESTAMP in preference to
$KBUILD_BUILD_TIMESTAMP.
Gbp-Pq: Topic debian
Gbp-Pq: Name uname-version-timestamp.patch
Ben Hutchings [Tue, 24 Jul 2012 02:13:10 +0000 (03:13 +0100)]
Include package version along with kernel release in stack traces
Forwarded: not-needed
For distribution binary packages we assume
$DISTRIBUTION_OFFICIAL_BUILD, $DISTRIBUTOR and $DISTRIBUTION_VERSION
are set.
Gbp-Pq: Topic debian
Gbp-Pq: Name version.patch
Ben Hutchings [Sat, 24 Aug 2019 18:00:41 +0000 (19:00 +0100)]
Documentation: Fix broken link to CIPSO draft
Forwarded: not-needed
We exclude the CIPSO draft text as its licence is not DFSG compliant.
Link to the IETF's online version instead.
Gbp-Pq: Topic debian/dfsg
Gbp-Pq: Name documentation-fix-broken-link-to-cipso-draft.patch
Ben Hutchings [Sat, 2 Jun 2012 18:53:38 +0000 (19:53 +0100)]
video: Remove nvidiafb and rivafb
Bug-Debian: https://bugs.debian.org/383481
Forwarded: no
These drivers contain register programming code provided by the
hardware vendor that appears to have been deliberately obfuscated.
This is arguably not the preferred form for modification.
These drivers are also largely redundant with nouveau. The RIVA 128
(NV3) is not supported by nouveau but is about 15 years old and
probably discontinued 10 years ago.
Gbp-Pq: Topic debian/dfsg
Gbp-Pq: Name video-remove-nvidiafb-and-rivafb.patch
Frederik Schüler [Fri, 5 Jan 2007 15:55:24 +0000 (15:55 +0000)]
Add removal patches for: 3c359, smctr, keyspan, cops
Forwarded: not-needed
Gbp-Pq: Topic debian/dfsg
Gbp-Pq: Name drivers-net-appletalk-cops.patch
Ben Hutchings [Mon, 17 Aug 2009 01:45:41 +0000 (02:45 +0100)]
dvb-usb-af9005: mark as broken
Forwarded: not-needed
Gbp-Pq: Topic debian/dfsg
Gbp-Pq: Name drivers-media-dvb-dvb-usb-af9005-disable.patch
Ben Hutchings [Mon, 13 Apr 2009 16:34:00 +0000 (17:34 +0100)]
Remove microcode patches for mgsuvd (not enabled in Debian configs)
Forwarded: not-needed
Gbp-Pq: Topic debian/dfsg
Gbp-Pq: Name arch-powerpc-platforms-8xx-ucode-disable.patch
Ian Campbell [Thu, 17 Jan 2013 08:55:21 +0000 (08:55 +0000)]
Tweak gitignore for Debian pkg-kernel using git
Forwarded: not-needed
[bwh: Tweak further for pure git]
Gbp-Pq: Topic debian
Gbp-Pq: Name gitignore.patch
Salvatore Bonaccorso [Sat, 20 Jan 2024 19:37:22 +0000 (20:37 +0100)]
linux (6.6.13-1) unstable; urgency=medium
* New upstream stable update:
https://www.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.6.12
https://www.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.6.13
- f2fs: explicitly null-terminate the xattr list
- ALSA: hda - Fix speaker and headset mic pin config for CHUWI CoreBook XPro
- mptcp: fix uninit-value in mptcp_incoming_options
- wifi: cfg80211: lock wiphy mutex for rfkill poll
- wifi: avoid offset calculation on NULL pointer
- wifi: mac80211: handle 320 MHz in ieee80211_ht_cap_ie_to_sta_ht_cap
- debugfs: fix automount d_fsdata usage
- ALSA: hda: intel-nhlt: Ignore vbps when looking for DMIC 32 bps format
- nvme-core: fix a memory leak in nvme_ns_info_from_identify()
- io_uring: use fget/fput consistently
- block: warn once for each partition in bio_check_ro()
- drm/amdgpu: Do not issue gpu reset from nbio v7_9 bif interrupt
- drm/amd/display: update dcn315 lpddr pstate latency
- drm/amdgpu: Fix cat debugfs amdgpu_regs_didt causes kernel null pointer
- drm/amdgpu: Use another offset for GC 9.4.3 remap
- Revert "drm/prime: Unexport helpers for fd/handle conversion"
- blk-mq: don't count completed flush data request as inflight in case of
quiesce
- nvme-core: check for too small lba shift
- [x86] ASoC: amd: yc: Add HP 255 G10 into quirk table
- [x86] ASoC: Intel: Skylake: Fix mem leak in few functions
- [x86] ASoC: SOF: topology: Fix mem leak in sof_dai_load()
- [x86] ASoC: Intel: Skylake: mem leak in skl register function
- ASoC: rt5650: add mutex to avoid the jack detection failure
- [x86] ASoC: Intel: skl_hda_dsp_generic: Drop HDMI routes when HDMI is not
available
- [x86] ASoC: SOF: ipc4-topology: Add core_mask in struct snd_sof_pipeline
- [x86] ASoC: SOF: sof-audio: Modify logic for enabling/disabling topology
cores
- nouveau/tu102: flush all pdbs on vmm flush
- [x86] ASoC: amd: yc: Add DMI entry to support System76 Pangolin 13
- [x86] ASoC: hdac_hda: Conditionally register dais for HDMI and Analog
- [x86] ASoC: SOF: ipc4-topology: Correct data structures for the SRC module
- [x86] ASoC: SOF: ipc4-topology: Correct data structures for the GAIN
module
- net/tg3: fix race condition in tg3_reset_task()
- ASoC: da7219: Support low DC impedance headset
- nvme: introduce helper function to get ctrl state
- nvme: ensure reset state check ordering
- nvme-ioctl: move capable() admin check to the end
- nvme: prevent potential spectre v1 gadget
- nvme: fix deadlock between reset and scan
- [arm64] dts: rockchip: Fix PCI node addresses on rk3399-gru
- drm/amd/display: Add monitor patch for specific eDP
- drm/amdgpu: Add NULL checks for function pointers
- [armhf] drm/exynos: fix a potential error pointer dereference
- [armhf] drm/exynos: fix a wrong error checking
- ALSA: pcmtest: stop timer before buffer is released
- [x86] hwmon: (corsair-psu) Fix probe when built-in
- [arm64] clk: rockchip: rk3568: Add PLL rate for 292.5MHz
- [arm64] clk: rockchip: rk3128: Fix HCLK_OTG gate register
- soundwire: intel_ace2x: fix AC timing setting for ACE2.x
- jbd2: correct the printing of write_flags in jbd2_write_superblock()
- jbd2: increase the journal IO's priority
- drm/crtc: Fix uninit-value bug in drm_mode_setcrtc
- neighbour: Don't let neigh_forced_gc() disable preemption for long
- [x86] platform/x86: intel-vbtn: Fix missing tablet-mode-switch events
- jbd2: fix soft lockup in journal_finish_inode_data_buffers()
- tracing: Have large events show up as '[LINE TOO BIG]' instead of nothing
- tracing: Add size check when printing trace_marker output
- tracing: Fix uaf issue when open the hist or hist_debug file
- ring-buffer: Do not record in NMI if the arch does not support cmpxchg in
NMI
- Input: psmouse - enable Synaptics InterTouch for ThinkPad L14 G1
- [arm64] reset: hisilicon: hi6220: fix Wvoid-pointer-to-enum-cast warning
- Input: atkbd - skip ATKBD_CMD_GETID in translated mode
- Input: i8042 - add nomux quirk for Acer P459-G2-M
- pinctrl: amd: Mask non-wake source pins with interrupt enabled at suspend
- [s390x] scm: fix virtual vs physical address confusion
- wifi: iwlwifi: pcie: avoid a NULL pointer dereference
- Input: xpad - add Razer Wolverine V2 support
- driver core: Add a guard() definition for the device_lock()
- HID: nintendo: fix initializer element is not constant error
- [x86] platform/x86: thinkpad_acpi: fix for incorrect fan reporting on some
ThinkPad systems
- [amd64] platform/x86/amd/pmc: Move platform defines to header
- [amd64] platform/x86/amd/pmc: Only run IRQ1 firmware version check on
Cezanne
- [amd64] platform/x86/amd/pmc: Move keyboard wakeup disablement detection
to pmc-quirks
- [amd64] platform/x86/amd/pmc: Disable keyboard wakeup on AMD Framework 13
- [x86] ASoC: Intel: bytcr_rt5640: Add quirk for the Medion Lifetab S10346
- [x86] ASoC: Intel: bytcr_rt5640: Add new swapped-speakers quirk
- ALSA: hda/realtek: Add quirks for ASUS Zenbook 2022 Models
- dm audit: fix Kconfig so DM_AUDIT depends on BLK_DEV_DM
- HID: nintendo: Prevent divide-by-zero on code
- smb: client: fix potential OOB in smb2_dump_detail() (CVE-2023-6610)
- [arm64,armhf] i2c: rk3x: fix potential spinlock recursion on poll
- drm/amd/display: Add case for dcn35 to support usb4 dmub hpd event
- drm/amd/display: get dprefclk ss info from integration info table
- posix-timers: Get rid of [COMPAT_]SYS_NI() uses
- ida: Fix crash in ida_free when the bitmap is empty (CVE-2023-6915)
- virtio_blk: fix snprintf truncation compiler warning
- nfc: Do not send datagram if socket state isn't LLCP_BOUND
- net: qrtr: ns: Return 0 if server port is not present
- connector: Fix proc_event_num_listeners count not cleared
- [armhf] sun9i: smp: fix return code check of of_property_match_string
- [x86] csum: Remove unnecessary odd handling
- [x86] csum: clean up `csum_partial' further
- drm/crtc: fix uninitialized variable use
- [x86] microcode: do not cache microcode if it will not be used
- ALSA: hda/realtek: Fix mute and mic-mute LEDs for HP Envy X360 13-ay0xxx
- ACPI: resource: Add another DMI match for the TongFang GMxXGxx
- [arm64] bus: moxtet: Mark the irq as shared
- [arm64] bus: moxtet: Add spi device table
- [x86] ASoC: SOF: Intel: hda-codec: Delay the codec device registration
- drm/amd/display: Pass pwrseq inst for backlight and ABM
- ksmbd: don't allow O_TRUNC open on read-only share
- ksmbd: free ppace array on error in parse_dacl
- Revert "md/raid5: Wait for MD_SB_CHANGE_PENDING in raid5d"
- [arm*] binder: use EPOLLERR from eventpoll.h
- [arm*] binder: fix use-after-free in shinker's callback
- [arm*] binder: fix trivial typo of binder_free_buf_locked()
- [arm*] binder: fix comment on binder_alloc_new_buf() return value
- uio: Fix use-after-free in uio_open
- parport: parport_serial: Add Brainboxes BAR details
- parport: parport_serial: Add Brainboxes device IDs and geometry
- PCI: Add ACS quirk for more Zhaoxin Root Ports
- scripts/decode_stacktrace.sh: optionally use LLVM utilities
- mm/memory_hotplug: fix memmap_on_memory sysfs value retrieval
[dgit import unpatched linux 6.6.13-1]
Salvatore Bonaccorso [Sat, 20 Jan 2024 19:37:22 +0000 (20:37 +0100)]
Import linux_6.6.13.orig.tar.xz
[dgit import orig linux_6.6.13.orig.tar.xz]
Salvatore Bonaccorso [Sat, 20 Jan 2024 19:37:22 +0000 (20:37 +0100)]
Import linux_6.6.13-1.debian.tar.xz
[dgit import tarball linux 6.6.13-1 linux_6.6.13-1.debian.tar.xz]